package com.xxgc.moriserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import lombok.Data;
import org.dromara.autotable.annotation.ColumnComment;
import org.dromara.autotable.annotation.mysql.MysqlTypeConstant;
import org.dromara.mpe.autotable.annotation.ColumnId;
import org.dromara.mpe.autotable.annotation.Table;
import org.dromara.mpe.processer.annotation.AutoDefine;
import org.dromara.mpe.processer.annotation.AutoMapper;
import org.dromara.mpe.processer.annotation.AutoRepository;

@AutoDefine
@AutoMapper
@AutoRepository
@Data
@Table(value = "weapon", comment = "武器装备")
public class WeaponEntity {

    @ColumnComment("武器装备ID")
    @ColumnId(mode = IdType.AUTO, comment = "id主键", type = MysqlTypeConstant.BIGINT, length = 32)
    private String weaponId;

    @ColumnComment("武器装备名称")
    private String weaponName;

    @ColumnComment("武器装备描述")
    private String weaponDesc;

    @ColumnComment("武器装备图标")
    private String weaponIcon;

    @ColumnComment("武器装备价格")
    private Integer weaponPrice;

    @ColumnComment("武器装备类型")
    private String weaponType;

    @ColumnComment("武器装备等级")
    private Integer weaponLevel;

    @ColumnComment("武器装备属性")
    private String weaponAttr;

    //买价
    @ColumnComment("买价")
    private Integer buyPrice;

    //卖价
    @ColumnComment("回收价")
    private Integer sellPrice;
}
